package com.imooc.config.webconfig;

import com.imooc.filters.TestFilter;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



/**
 * @author Created By Houce
 * @date 2020-07-16 15:10
 */
@Configuration
public class WebFilterConfig {

//    @Bean
//    public FilterRegistrationBean testFilter(){
//        final FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean();
//        filterRegistrationBean.setFilter(new TestFilter());
//        return filterRegistrationBean;
//    }
}
